﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;


namespace MvcApplication2.Models
{
    public enum Stage
    {
        Engineering, Qa, Uat, Production, Retired
    }
    public enum BuildType
    {
        Physical, GenY
    }
    public class Build
    {
        //[DatabaseGenerated(DatabaseGeneratedOption.None)]
        public int BuildId { get; set; }
        public string ProductOwnerSid { get; set; }
        public string Title { get; set; }
        public string Version { get; set; }
        public BuildType? BuildType { get; set; }
        public Stage? Stage { get; set; }

        public virtual ICollection<Release> Releases { get; set; }
    }

}